package chapter10;

public class FinallyDemo {
	
	static void procA(){
		try{			
			System.out.println("Inside procA");
			throw new RuntimeException("demo");			
		}finally{
			System.out.println("procA finally");
		}
	}
	
	static void procB(){
		try{
			System.out.println("Inside procB");
			return;			
		}finally{
			System.out.println("procB finally");
		}
	}
	
	static void procC(){
		try{
			System.out.println("Inside procC");
		}finally{
			System.out.println("procC finally");
		}
	}
}
